const express = require("express");

const path = require("path");
const app = express();
console.log(path.join(__dirname, "dist"));

app.use(express.static(path.join(__dirname, "dist")));
app.get('*', (req, res) => {
  res.sendFile(path.join(__dirname, 'dist/index.html'));
});
app.listen(3000, () => console.log("listening on port 3000"));
